package cn.iocoder.yudao.module.erp.controller.admin.accountinfo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 对账单信息新增/修改 Request VO")
@Data
public class AccountInfoSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "13816")
    private Long id;

    @Schema(description = "对账类型", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "对账类型不能为空")
    private String type;

    @Schema(description = "客户", requiredMode = Schema.RequiredMode.REQUIRED, example = "5400")
    @NotNull(message = "客户不能为空")
    private Long customerId;

    @Schema(description = "对账开始时间")
    private Date beginTime;

    @Schema(description = "对账截止时间")
    private Date endTime;

    @Schema(description = "备注"  )
    private String remark;

    @Schema(description = "附件 URL" )
    private String fileUrl;

    private String[] planIds;

    private String planId;


    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date[] rangeTime;

    private Long[] costIds;
}